import { createRouter, createWebHashHistory } from 'vue-router'


const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
   {path: '/', redirect: '/list'}, 
   {path: '/list', component: ()=>import('@/views/HmList.vue')},
   {path: '/detail', component: ()=>import('@/views/HmDetail.vue')},
  ]
})

export default router
